package com.ds.smartstudio.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ds.smartstudio.controller.DTO.deviceObj;
import com.ds.smartstudio.entity.History;

import java.sql.Timestamp;
import com.ds.smartstudio.entity.History;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yangsf
 * @since 2022-07-02 10:42:24
 */
public interface HistoryService extends IService<History> {
    History selectLatestByMac(String Mac);

    List<History> dayOfTemp(String mac);

    List<History> allOfTemp(String mac);

    List historyPage(int page, int pageSize, String name);

    List<String> MacInArea(String area);

    List<String> MacInType(String Type);

    List History(String Area, String Mac, String TimeStart, String TimeEnd,int page,int pageSize);


    List<History> areaTemp(Integer id);

    List<History> selectLatest();
}
